﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceEntity.Device.ElecPcb.Type
{
    /// <summary>
    /// 通用电气控制板
    /// </summary>
    class CommonBLL:BLL.IElecPcbBLL
    {
        /// <summary>
        /// 操作类
        /// </summary>
        private static CommonBLL commonBLL = null;
        /// <summary>
        /// 配置参数
        /// </summary>
        private static DeviceEntity.Model.DeviceConfigModel _deviceConfig = null;
        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="deviceConfig">配置参数</param>
        /// <returns></returns>
        public static BLL.IElecPcbBLL Init(DeviceEntity.Model.DeviceConfigModel deviceConfig)
        {
            if (commonBLL == null)
            {
                commonBLL = new CommonBLL();
            }
            _deviceConfig = deviceConfig;
            return commonBLL;
        }
        public async Task Read(Model.ElecPcbParaModel elecPcbParameter)
        {

        }
        public async Task Write(Model.ElecPcbParaModel elecPcbParameter)
        {

        }
    }
}
